{% extends "base.html" %}
{% block title %}
个人中心
{% endblock %}
{% block content %}
    <!-- Page Content -->
    <div id="page-wrapper">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">个人中心</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                    <div class="row">
                        <table class="table">
                            <tr>
                                <td>用户名</td>
                                <td>{{person.username}}</td>
                            </tr>
                            <tr>
                                <td>密码</td>
                                <td>{{person.password | setpwd}}</td>
                            </tr>
                            <tr>
                                <td>昵称</td>
                                <td>{{person.nickname}}</td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td>{{person.gender}}</td>
                            </tr>
                            <tr>
                                <td>年龄</td>
                                <td>{{person.age}}</td>
                            </tr>


                            <tr>
                                <td>邮箱</td>
                                <td>{{person.email}}</td>
                            </tr>
                            <tr>
                                <td>照片</td>
                                <td>

                                     <div class="thumbnail">    
                                     <img src="/static/{{ person.photo }}" alt="">
                                     </div>

                                </td>
                            </tr>
                            <tr>
                                <td>地址</td>
                                <td>{{person.address}}</td>
                            </tr>
                            <tr>
                                <td>绩效</td>
                                <td>{{person.score}}</td>
                            </tr>
                            <tr>
                                <td>职位</td>
                                <td>{{person.our_position.p_name}}</td>
                            </tr>
                            <tr>
                                <td>部门</td>
                                <td>{{ person.our_position.p_depart.d_name}}</td>
                            </tr>
                        </table>
                    </div>
                </div>
                <!-- /.col-lg-12 -->
            </div>
        </div>
        <!-- /.container-fluid -->
    </div>
    <!-- /#page-wrapper -->
{% endblock %}